package com.eeepay.eeepay_v2.model;

import java.io.Serializable;

/**
 * Created by Ching on 2016/4/8.
 * 服务限额信息
 */
public class LimitInfo implements Serializable {

    private String serviceName;//服务名称
    private String cardType;//卡类型
    private String serviceTime;//交易时间
    private String minAmount;//最小交易金额
    private String countAmount;//单笔最大交易额
    private String dayAmount;//单日最大交易额
    private String dayCardAmount;//单日单卡最大交易额
    private String dayCardConut;//单日单卡最大交易额笔数
    private String serviceId;//服务Id
    private String fixedQuota;//锁定状态
    private String id;

    public LimitInfo() {
    }

    public LimitInfo(String serviceName, String cardType, String serviceTime, String countAmount, String dayAmount, String dayCardAmount, String dayCardConut) {
        this.serviceName = serviceName;
        this.cardType = cardType;
        this.serviceTime = serviceTime;
        this.countAmount = countAmount;
        this.dayAmount = dayAmount;
        this.dayCardAmount = dayCardAmount;
        this.dayCardConut = dayCardConut;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getCardType() {
//        int type = Integer.getInteger(cardType);
////        String card = null;
//        switch (type) {
//            case 1:
//                cardType = "信用卡";
//                break;
//            case 2:
//                cardType = "储蓄卡";
//                break;
//        }
        return cardType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(String minAmount) {
        this.minAmount = minAmount;
    }

    public String getCountAmount() {
        return countAmount;
    }

    public void setCountAmount(String countAmount) {
        this.countAmount = countAmount;
    }

    public String getDayAmount() {
        return dayAmount;
    }

    public void setDayAmount(String dayAmount) {
        this.dayAmount = dayAmount;
    }

    public String getDayCardAmount() {
        return dayCardAmount;
    }

    public void setDayCardAmount(String dayCardAmount) {
        this.dayCardAmount = dayCardAmount;
    }

    public String getDayCardConut() {
        return dayCardConut;
    }

    public void setDayCardConut(String dayCardConut) {
        this.dayCardConut = dayCardConut;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getFixedQuota() {
        return fixedQuota;
    }

    public void setFixedQuota(String fixedQuota) {
        this.fixedQuota = fixedQuota;
    }
}
